/**
 * 
 */
package travibot.connection.cookies;

import java.util.ArrayList;
import java.util.List;


/**
 * @author tajzivit
 *
 */
public class CookieHolder implements ICookieHolder {

    private List<Cookie> cookies = new ArrayList<Cookie>();
    
    public CookieHolder(){
        
    }
    
    public void addCookie(Cookie cookie){
        
        cookies.add(cookie);
    }
    
    public List<Cookie> getCookies(){
        
        return cookies;
    }
    
    public void clear(){
        
        cookies.clear();
    }
}
